package com.kuang.base;

/**
 * @author wuJiaWei
 * @version 1.0
 * @date 2024/8/6
 * @time 17:07:37
 */
public class Demo01 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        int c = 30;
        int d = 40;
        System.out.println(a + b);
        System.out.println(a - b);
        System.out.println(a * b);
        System.out.println(a / (double)b);
        System.out.println(a % b);
        System.out.println(a++);
        System.out.println(++a);
        System.out.println(a--);
        System.out.println(--a);
        System.out.println(a == b);
        System.out.println(a != b);
        System.out.println(a > b);
        System.out.println(a < b);
        System.out.println(a >= b);
        System.out.println(a <= b);
        System.out.println(a > b && a < c);
        System.out.println(a > b || a < c);
        System.out.println(!(a > b));
        System.out.println(a > b && a < c && a > d);
        System.out.println(a > b || a < c || a > d);
        System.out.println(!(a > b || a < c || a > d));
        System.out.println(a > b && a < c && a > d && a < d);
        System.out.println(a > b || a < c || a > d || a < d);
        System.out.println(a > b && a < c && a > d && a < d && a > b);
        System.out.println(a > b || a < c || a > d || a < d || a > b);
    }
}
